<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    <?php 
	
	$html.='<a href="index.php?m=category&c=category&a=init&modelid='. $modelid .'&pc_hash='. $_SESSION['pc_hash'].'" ><em>'.$modename.'l栏目管理'.'</em></a><span>|</span>';
	
	$html.='<a href="index.php?m=category&c=category&a=add&modelid='. $modelid .'&pc_hash='. $_SESSION['pc_hash'].'"><em>添加栏目'.'</em></a><span>|</span>';
	
	$html.='<a href="index.php?m=category&c=category&a=public_cache&modelid='. $modelid .'&pc_hash='. $_SESSION['pc_hash'].'"><em>'.'更新栏目缓存'.'</em></a><span>|</span>';
	
	$html.='<a href="javascript:;" class="on"><em>'.'导出栏目</em></a>';
	
	echo $html;
	?>
	</div>
</div>

<div class="pad-lr-10">
<textarea id="catids"style="width:96%;height:220px; line-height:20px; color:#333; font-family:'宋体'" ><?php echo $categorys?></textarea>
 <div class="bk10"></div>
<input type="submit" name="submit" class="button" value=" 复制 " onclick="$('#catids').select();document.execCommand('Copy');alert('<?php echo L('content_copy_to_ban')?>');">

</div>